<script setup>

import {useRoute} from 'vue-router'
let route = useRoute();
function getInfo(){
  console.log(route)

}

</script>

<template>
<h3>个人详情</h3>
  <button @click="getInfo">页面信息</button>
</template>

<style scoped>

</style>